package Practice;

public class Student {
    String name;
    int age;
    char gender;
    String hobby;


    Student() {

    }

    Student(String name, int age, char gender, String hobby) {
        this.name = name;
        this.age = age;
        this.gender = gender;
        this.hobby = hobby;


    }

    void show() {
        System.out.println("我是" + name + ",我今年" + age + "岁了" + ",性别是" + gender + ",爱好是" + hobby);
    }


}
